package com.wealth.system.repository;

import java.util.List;

import iaas.repository.BaseRepository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.wealth.system.entity.Corporation;

/**
 * 
 * @author chan
 */

@Repository
public interface CorpDao extends BaseRepository<Corporation, Long>, JpaSpecificationExecutor<Corporation> {

	Corporation findByName(String corpname);
	
	List<Corporation> findByStatus(Integer status) ;
}


